namespace OpenWaves.ActivityFeed.Web
{
    [DefaultImplementation(typeof(DummyUserProfileProvider))]
    public interface IUserProfileProvider
    {
        object GetUserProfile(string userId);
    }

    public class DummyUserProfileProvider : IUserProfileProvider
    {
        public object GetUserProfile(string userId)
        {
#if DEBUG
            return new UserProfile { Name = userId, PhotoUrl = "/activityFeed.Web/Content/Images/dummy_profile_picture.jpg", Url = "#" };
#else
            return new UserProfile { Name = userId, PhotoUrl = "/Content/Images/dummy_profile_picture.jpg", Url = "#" };
#endif
        }
    }

    public class UserProfile
    {
        public string Url { get; set; }
        public string Name { get; set; }
        public string PhotoUrl { get; set; }
    }
}